import dayjs from 'dayjs'

/**
 * 格式化时间
 */
export const formatTime = (time, formatStr = 'MM/DD') => {
  return dayjs(time).format(formatStr)
}
